
package ija.xls.notation.types;

/**
 * Typ operace pro hru
 * Implementovány operace pro dámu (lze dodat další).
 * @author Radek Nečas
 */
public enum GameOperation {
    NOP, MOVE, JUMP, MOVESET, JUMPSET;
    
    @Override
    public String toString() {
        String s = new String();
        switch(this) {
            case NOP:
                s = "NOP";
                break;
            case MOVE:
            case MOVESET:
                s = "-";
                break;
            case JUMP:
            case JUMPSET:
                s = "x";
        }
        
        return s;
    }
}
